/**
 * 
 */
package com.et114.modules.org.vo;

import java.util.ArrayList;
import java.util.List;

import com.et114.components.acegi.Constants;

/**
 * @author guanhw
 */
public class MethodVo extends OrgBaseVo implements IResource  {
	private static final long	serialVersionUID	= 2680714385902329445L;
	private Long methodId ; 
	private String name ; 
	private String classMethod ;
	private List roles = new ArrayList() ; 
	private List users = new ArrayList();
	private List titles = new ArrayList();

	/**
	 * 
	 */
	public MethodVo ( ) {
		// TODO Auto-generated constructor stub
	}
	public String getName ( ) {
		return name;
	}
	public void setName ( String name ) {
		this.name = name;
	}
	public String getClassMethod ( ) {
		return classMethod;
	}
	public void setClassMethod ( String classMethod ) {
		this.classMethod = classMethod;
	}
	public List getRoles ( ) {
		return roles;
	}
	public void setRoles ( List roles ) {
		this.roles = roles;
	}
	public Long getMethodId ( ) {
		return methodId;
	}
	public void setMethodId ( Long methodId ) {
		this.methodId = methodId;
	}
	public List getUsers ( ) {
		return users;
	}
	public void setUsers ( List users ) {
		this.users = users;
	}
	public List getTitles ( ) {
		return titles;
	}
	public void setTitles ( List titles ) {
		this.titles = titles;
	}
	public String getResString ( ) {
		// TODO Auto-generated method stub
		return classMethod;
	}
	public String getResType ( ) {
		// TODO Auto-generated method stub
		return Constants.RESOURCE_METHOD;
	}
	public String getResName ( ) {
		// TODO Auto-generated method stub
		return name;
	}
}
